//
//  AppDelegate.m
//  <10>Nib和NSWindowController
//
//  Created by chen on 16/9/9.
//  Copyright © 2016年 tyrad. All rights reserved.
//

#import "AppDelegate.h"

@interface AppDelegate ()

@property (weak) IBOutlet NSWindow *window;
@end

@implementation AppDelegate

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
    
    NSBundle *bundel = [NSBundle mainBundle];
    NSLog(@"bundel : %@", bundel);// bundel : NSBundle </Users/tyrad/Library/Developer/Xcode/DerivedData/<10>Nib和NSWindowController-cvyxmmjdoosyzzbasjrfbvujvfwo/Build/Products/Debug/<10>Nib和NSWindowController.app> (loaded)
    
    //访问目录里的资源
    NSBundle *bundel2 = [NSBundle bundleWithPath:@"~/xxxxxx/xx"];
    
    
}

- (void)applicationWillTerminate:(NSNotification *)aNotification {

}

@end
